package com.woniu.supermarket.vo;

import com.woniu.supermarket.entity.OutboundDetail;
import com.woniu.supermarket.entity.PurchaseDetail;
import com.woniu.supermarket.entity.Supplier;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@ApiModel(description = "封装商品出库信息")
@Data
public class OutboundVo {
    private Integer id;
    private Integer goodsId;
    private Integer outboundId;
    private BigDecimal costPrice;
    private String outboundNumber;
    private Supplier supplier;
    private Integer supplierId;
    private String outboundStaff;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date outboundTime;
    private Integer status;
    @ApiModelProperty(value = "出库详情集合")
    private List<OutboundDetail> outboundDetailList;
}
